package ar.republicagroup.gestion.dao;

import ar.republicagroup.gestion.entities.Banco;
import java.util.List;
import javax.swing.DefaultComboBoxModel;

public interface BancoDAO {
	
    public List<Banco> findEntities();		

    public String insert(Banco beanBanco);
    
    public String update(Banco beanBanco);

    public Banco get(Integer idbanco);
    
    public String delete(Integer idbanco);

    public DefaultComboBoxModel combo();
//    
//    public List<SelectItem> comboRich();
    
    public Banco findBancoByName(String banco_name);
    
    public Banco findBancoByCodCuenta(String cod_cuenta,boolean es_sucursal);
    
    public Banco findSucursalByCodCuenta(String cod_cuenta,Integer sucursal_id);
    

}
